package com.example.helloandroid.beans;

import java.util.List;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root
public final class TransactionListDTO {
	
	public TransactionListDTO() {}

	@Element(required=false)
	private List<Transaction> transactions;

	
	public List<Transaction> getTransactions() {
		return transactions;
	}

	
	public void setTransactions(List<Transaction> transactions) {
		this.transactions = transactions;
	}

	public boolean isEmpty() {
		return (transactions==null ||transactions.size()==0);
	}
	
	
}
